
package Jeux;

import java.io.File;

import org.newdawn.slick.AppGameContainer;
import org.newdawn.slick.Input;
import org.newdawn.slick.BasicGame;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.SlickException;
import t2s.SIVOXDevint;

/**
 * @author Wood
 *
 */
public class MiniJeux extends BasicGame {

	protected int score;
	protected Joueur joueur; 
	protected AppGameContainer app;
	//protected Tutoriel tuto;
	
	public MiniJeux(String title) {
		super(title);
		// TODO Auto-generated constructor stub
	}

	@Override
	public void render(GameContainer arg0, Graphics arg1) throws SlickException {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void init(GameContainer arg0) throws SlickException {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void update(GameContainer container, int arg1) throws SlickException {
		if (container.getInput().isKeyDown((Input.KEY_ESCAPE))) {
			joueur.setScore(score);
			app.exit();
		}
		if (container.getInput().isKeyDown((Input.KEY_R))) {
			container.reinit();
		}
		
	}
	
	
	
	
    
}
